package apps.reading.db;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;

@Entity
@Table(name="T_FAVORITE")
public class FavoriteBean {
	/**
	* 主键
	*/
	@Id	
	private String id;
	/**
	* 文章主键
	*/
	private String sourceid;
	/**
	* 用户主键
	*/
	private String userid;
	/**
	* 文章标题
	*/
	private String sourcetitle;
	/**
	* 创建时间
	*/
	private Date createtime;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSourceid() {
		return sourceid;
	}
	public void setSourceid(String sourceid) {
		this.sourceid = sourceid;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getSourcetitle() {
		return sourcetitle;
	}
	public void setSourcetitle(String sourcetitle) {
		this.sourcetitle = sourcetitle;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

}
